-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: c509 wasm binding js #628
Conversation
✅ Test Report | |
Had a look from a flutter web point of view. The created APIs can easily be called from dart via js_interop. Additionally with rather little effort we will be able to use the structures in Flutter that are returned by the wasm library. For flutter web this is a solid solution. Looking a bit forward, wasm bindings are unusable on mobile/desktop platforms. Then I imagine we can rely on solutions like https://github.com/fzyzcjy/flutter_rust_bridge but from my experience it requires the rust code to be adapted to work with this bridge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do you think to transform your simple html/js example into the node tests and run them as integration tests in earthly.
Something similar we already done (but without earthly) by adding integration tests running wasm code (https://github.com/input-output-hk/catalyst-core/tree/main/src/chain-wallet-libs/bindings/wallet-wasm-js/js-test).
Of course it will take some additional effort to do that, but seems to me it worth to do.
Maybe not as a part of this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
Implement WASM binding JS for C509 lib
Related Issue(s)
Closes #617
Description of Changes
generate
,verify
, anddecode
functionPrivateKey
andPublicKey
function.html
filePlease confirm the following checks